<?php
function magic_modifier_borrow_url($url){
	global $_G;
    $url = preg_replace('/\/invest\/a(.*?).html/is', '/?'.$_G["system"]["con_houtai"].'&q=code/borrow/view&borrow_nid=$1', $url);
	$url = str_replace('target=_blank', '', $url);
	return $url;
}
?>
